package service.song;

import dao.RecordDuplicateException;
import entities.Customer;
import entities.Song;


/**
 * This interface defines the method needed to manage a customer.
 * @author Jaime
 *
 */
public interface SongService {

	/**
	 * Finds a customer based on the customer id.
	 * @param sid - customer id
	 * @return the instance of the customer
	 */
	public Song findSong(Long product_id);
	
	
	/**
	 * Adds a new customer to the system.
	 * @param obj - the customer instance to add
	 * @exception RecordDuplicateException if the customer is already in the system.
	 */
	public void addSong(Song obj) throws RecordDuplicateException;
	
}
